package com.strange.mdl.module.mdl.controller.app.incense.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import com.strange.mdl.framework.excel.core.annotations.DictFormat;
import com.strange.mdl.framework.excel.core.convert.DictConvert;

@Schema(description = "用户 APP - 供香记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppIncenseRespVO {

    @Schema(description = "供香主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26152")
    @ExcelProperty("供香主键ID")
    private Long id;

    @Schema(description = "用户ID", example = "19491")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "佛像名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("佛像名称")
    private String buddha;

    @Schema(description = "佛像URL", example = "https://www.iocoder.cn")
    @ExcelProperty("佛像URL")
    private String buddhaUrl;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "0灭灯 1点灯", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "0灭灯 1点灯", converter = DictConvert.class)
    @DictFormat("lamp") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer lamp;

    @Schema(description = "供品")
    @ExcelProperty("供品")
    private String offering;

    @Schema(description = "供品URL", example = "https://www.iocoder.cn")
    @ExcelProperty("供品URL")
    private String offeringUrl;

    @Schema(description = "0男 1女 2保密", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "0男 1女 2保密", converter = DictConvert.class)
    @DictFormat("gender") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer gender;

    @Schema(description = "年龄")
    @ExcelProperty("年龄")
    private Short age;

    @Schema(description = "地区")
    @ExcelProperty("地区")
    private String region;

    @Schema(description = "0祈愿 1还愿 2忏悔", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty(value = "0祈愿 1还愿 2忏悔", converter = DictConvert.class)
    @DictFormat("wish_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer wishType;

    @Schema(description = "愿文内容")
    @ExcelProperty("愿文内容")
    private String wishText;

    @Schema(description = "0公开 1隐藏", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "0公开 1隐藏", converter = DictConvert.class)
    @DictFormat("system_user_sex") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer privacy;

    @Schema(description = "排位")
    @ExcelProperty("排位")
    private Integer rankNumber;

    @Schema(description = "回向功德")
    @ExcelProperty("回向功德")
    private String merit;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}